package com.zhenhua.dao;

import java.util.List;

import com.common.entity.Appointment;

public interface IAppointmentDao {
	
	
	
	public List<String> getSubName(String date,int stuId);
	
	
	public int update(Appointment appointment);
	public int insert(Appointment appointment);
	public int deleteById(int id);
	public Appointment getAppointmentById(int id);
	public List<Appointment> getAppointmentByStuNumber(int stuNumber);
	
	public List<Appointment> listall();
	
	public utils.Page<Appointment> getPageByStuNumber(Integer stuNumber,int currentPage,int pageSize);
	public List<Appointment> getOnePageInfoByStuNumber(Integer stuNumber,int currentPage,int pageSize);
	public int getCountByStuNumber(Integer stuNumber);
	
	public utils.Page<Appointment> getPageByCoachNumber(Integer coachNumber,int currentPage,int pageSize);
	public List<Appointment> getOnePageInfoByCoachNumber(Integer coachNumber,int currentPage,int pageSize);
	public int getCountByCoachNumber(Integer coachNumber);
	
	
}
